#include "StunImpediments.h"
#include "Impediments.h"
#include "cocos2d.h"
#include "cocos-ext.h"

USING_NS_CC;
USING_NS_CC_EXT;

StunImpediments::StunImpediments() : Impediments()
{
	mStun = 0;
}

StunImpediments::StunImpediments(int type) : Impediments(type)
{
	mStun = 0;
}

StunImpediments::StunImpediments(CCPoint &point, int type) : Impediments(point, type)
{
	mStun = 0;
}

void StunImpediments::fSetStun(int stun)
{
	mStun = stun;
}

int StunImpediments::fGetStun()
{
	return mStun;
}

void StunImpediments::fEffectsStun()
{
	//Day la hieu ung lam choang' nguoi choi
}

CCActionInterval* StunImpediments::fEffectsShock(float time)
{
	CCActionInterval* pEffect = CCLiquid::create(time, CCSizeMake(100, 100), 10, 50); 
	return pEffect;
}